package com.kongge.main;

import android.content.Context;
import android.widget.ImageView;
import android.widget.TextView;

/**
 * Created by kongge on 2017/11/11.
 * description:
 * layoutid:
 */
public class TestClass {

    public void setTextView(TextView textView) {
        if (textView != null) {
            textView.setText(textView.getContext().getResources().getString(R.string.app_name));
        }
    }

    public void setImageView(ImageView imageView) {
        if (imageView != null) {
            imageView.setImageResource(R.drawable.ic_launcher);
        }
    }

    public void test(Context context) {

    }
}
